/**
 * 
 */
package qmese.matrix;

/**
 * @author Pawel
 *
 */
public class Matrix {

	private int[][] data;
	private int M; //rows
	private int N; //columns
	
	public Matrix(int[][] data) {
		this.data = data;
		M = data.length;
		N = data[0].length;
	}
	
	public Matrix(int[][] data, int M, int N) {
		this.data = data;
		this.M = M;
		this.N = N;
	}
	
	public Matrix(int M, int N) {
		this.M = M;
		this.N = N;
		this.data = new int[M][N];
	}

	public int[][] getData() {
		return data;
	}

	public void setData(int[][] data) {
		this.data = data;
	}

	public int getM() {
		return M;
	}

	public void setM(int m) {
		M = m;
	}

	public int getN() {
		return N;
	}

	public void setN(int n) {
		N = n;
	}
}
